<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>lib/global.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/lib.html'>lib</a>/global.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/lib.html'>lib</a>/global.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 lib/global.h'  /> */</em>
<hr />
<h2 class='header'><a href='../J/global.h.html' title='Multiple included from 216 places.'>INCLUDED FROM</a></h2>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='comment'>/** \file global.h</em>
<a id='L2' name='L2'></a>   2 <em class='comment'> *  \brief Header: %global definitions for compatibility</em>
<a id='L3' name='L3'></a>   3 <em class='comment'> *</em>
<a id='L4' name='L4'></a>   4 <em class='comment'> *  This file should be included after all system includes and before all local includes.</em>
<a id='L5' name='L5'></a>   5 <em class='comment'> */</em>
<a id='L6' name='L6'></a>   6 
<a id='L7' name='L7'></a>   7 <em class='sharp'>#ifndef</em> <a href='../S/lib--global.h.html#L8' title='Defined at 8 in lib/global.h.'>MC_GLOBAL_H</a>
<a id='L8' name='L8'></a>   8 <em class='sharp'>#define</em> <a href='../S/lib--global.h.html#L7' title='Referred from 7 in lib/global.h.'>MC_GLOBAL_H</a>
<a id='L9' name='L9'></a>   9 
<a id='L10' name='L10'></a>  10 <em class='sharp'>#if</em> <strong class='reserved'>defined</strong>(<a href='../Y/HAVE_STRING_H.html' title='Multiple used in 2 places.'>HAVE_STRING_H</a>)
<a id='L11' name='L11'></a>  11 <em class='sharp'>#include</em> &lt;string.h&gt;
<a id='L12' name='L12'></a>  12    <em class='comment'>/* An ANSI string.h and pre-ANSI memory.h might conflict */</em>
<a id='L13' name='L13'></a>  13 <em class='sharp'>#elif</em> <strong class='reserved'>defined</strong>(<a href='../Y/HAVE_MEMORY_H.html' title='Multiple used in 2 places.'>HAVE_MEMORY_H</a>)
<a id='L14' name='L14'></a>  14 <em class='sharp'>#include</em> &lt;memory.h&gt;
<a id='L15' name='L15'></a>  15 <em class='sharp'>#else</em>
<a id='L16' name='L16'></a>  16 <em class='sharp'>#include</em> &lt;strings.h&gt;
<a id='L17' name='L17'></a>  17     <em class='comment'>/* memory and strings.h conflict on other systems */</em>
<a id='L18' name='L18'></a>  18 <em class='sharp'>#endif</em> <em class='comment'>/* !STDC_HEADERS &amp; !HAVE_STRING_H */</em>
<a id='L19' name='L19'></a>  19 
<a id='L20' name='L20'></a>  20 <em class='sharp'>#ifdef</em> <a href='../Y/HAVE_SYS_PARAM_H.html' title='Multiple used in 7 places.'>HAVE_SYS_PARAM_H</a>
<a id='L21' name='L21'></a>  21 <em class='sharp'>#include</em> &lt;sys/param.h&gt;
<a id='L22' name='L22'></a>  22 <em class='sharp'>#endif</em>
<a id='L23' name='L23'></a>  23 
<a id='L24' name='L24'></a>  24 <em class='comment'>/* for O_* macros */</em>
<a id='L25' name='L25'></a>  25 <em class='sharp'>#include</em> &lt;fcntl.h&gt;
<a id='L26' name='L26'></a>  26 
<a id='L27' name='L27'></a>  27 <em class='comment'>/* for sig_atomic_t */</em>
<a id='L28' name='L28'></a>  28 <em class='sharp'>#include</em> &lt;signal.h&gt;
<a id='L29' name='L29'></a>  29 
<a id='L30' name='L30'></a>  30 <em class='sharp'>#ifdef</em> HAVE_FUNC_ATTRIBUTE_FALLTHROUGH
<a id='L31' name='L31'></a>  31 <em class='sharp'>#define</em> <a href='../R/MC_FALLTHROUGH.html' title='Multiple referred from 75 places.'>MC_FALLTHROUGH</a> <strong class='reserved'>__attribute__</strong>((fallthrough))
<a id='L32' name='L32'></a>  32 <em class='sharp'>#else</em>
<a id='L33' name='L33'></a>  33 <em class='sharp'>#define</em> <a href='../R/MC_FALLTHROUGH.html' title='Multiple referred from 75 places.'>MC_FALLTHROUGH</a>
<a id='L34' name='L34'></a>  34 <em class='sharp'>#endif</em>
<a id='L35' name='L35'></a>  35 
<a id='L36' name='L36'></a>  36 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
<a id='L37' name='L37'></a>  37 
<a id='L38' name='L38'></a>  38 <em class='comment'>/* The O_BINARY definition was taken from gettext */</em>
<a id='L39' name='L39'></a>  39 <em class='sharp'>#if</em> !<strong class='reserved'>defined</strong> <a href='../D/O_BINARY.html' title='Multiple defined in 3 places.'>O_BINARY</a> &amp;&amp; <strong class='reserved'>defined</strong> <a href='../Y/_O_BINARY.html' title='Multiple used in 2 places.'>_O_BINARY</a>
<a id='L40' name='L40'></a>  40   <em class='comment'>/* For MSC-compatible compilers.  */</em>
<a id='L41' name='L41'></a>  41 <em class='sharp'>#define</em> <a href='../R/O_BINARY.html' title='Multiple referred from 11 places.'>O_BINARY</a> <a href='../Y/_O_BINARY.html' title='Multiple used in 2 places.'>_O_BINARY</a>
<a id='L42' name='L42'></a>  42 <em class='sharp'>#endif</em>
<a id='L43' name='L43'></a>  43 <em class='sharp'>#ifdef</em> __BEOS__
<a id='L44' name='L44'></a>  44   <em class='comment'>/* BeOS 5 has O_BINARY, but is has no effect.  */</em>
<a id='L45' name='L45'></a>  45 <em class='sharp'>#undef</em> <a href='../R/O_BINARY.html' title='Multiple referred from 11 places.'>O_BINARY</a>
<a id='L46' name='L46'></a>  46 <em class='sharp'>#endif</em>
<a id='L47' name='L47'></a>  47 <em class='comment'>/* On reasonable systems, binary I/O is the default.  */</em>
<a id='L48' name='L48'></a>  48 <em class='sharp'>#ifndef</em> <a href='../D/O_BINARY.html' title='Multiple defined in 3 places.'>O_BINARY</a>
<a id='L49' name='L49'></a>  49 <em class='sharp'>#define</em> <a href='../R/O_BINARY.html' title='Multiple referred from 11 places.'>O_BINARY</a> 0
<a id='L50' name='L50'></a>  50 <em class='sharp'>#endif</em>
<a id='L51' name='L51'></a>  51 
<a id='L52' name='L52'></a>  52 <em class='comment'>/* Replacement for O_NONBLOCK */</em>
<a id='L53' name='L53'></a>  53 <em class='sharp'>#ifndef</em> <a href='../D/O_NONBLOCK.html' title='Multiple defined in 2 places.'>O_NONBLOCK</a>
<a id='L54' name='L54'></a>  54 <em class='sharp'>#ifdef</em> <a href='../Y/O_NDELAY.html' title='Multiple used in 4 places.'>O_NDELAY</a>                 <em class='comment'>/* SYSV */</em>
<a id='L55' name='L55'></a>  55 <em class='sharp'>#define</em> <a href='../R/O_NONBLOCK.html' title='Multiple referred from 8 places.'>O_NONBLOCK</a> <a href='../Y/O_NDELAY.html' title='Multiple used in 4 places.'>O_NDELAY</a>
<a id='L56' name='L56'></a>  56 <em class='sharp'>#else</em> <em class='comment'>/* BSD */</em>
<a id='L57' name='L57'></a>  57 <em class='sharp'>#define</em> <a href='../R/O_NONBLOCK.html' title='Multiple referred from 8 places.'>O_NONBLOCK</a> <a href='../Y/FNDELAY.html' title='Multiple used in 2 places.'>FNDELAY</a>
<a id='L58' name='L58'></a>  58 <em class='sharp'>#endif</em> <em class='comment'>/* !O_NDELAY */</em>
<a id='L59' name='L59'></a>  59 <em class='sharp'>#endif</em> <em class='comment'>/* !O_NONBLOCK */</em>
<a id='L60' name='L60'></a>  60 
<a id='L61' name='L61'></a>  61 <em class='sharp'>#if</em> <strong class='reserved'>defined</strong>(<a href='../Y/__QNX__.html' title='Multiple used in 4 places.'>__QNX__</a>) &amp;&amp; !<strong class='reserved'>defined</strong>(<a href='../Y/__QNXNTO__.html' title='Multiple used in 11 places.'>__QNXNTO__</a>)
<a id='L62' name='L62'></a>  62 <em class='comment'>/* exec*() from &lt;process.h&gt; */</em>
<a id='L63' name='L63'></a>  63 <em class='sharp'>#include</em> &lt;unix.h&gt;
<a id='L64' name='L64'></a>  64 <em class='sharp'>#endif</em>
<a id='L65' name='L65'></a>  65 
<a id='L66' name='L66'></a>  66 <em class='sharp'>#include</em> &lt;glib.h&gt;
<a id='L67' name='L67'></a>  67 <em class='sharp'>#include</em> "<a href='lib--glibcompat.h.html'>glibcompat.h</a>"
<a id='L68' name='L68'></a>  68 
<a id='L69' name='L69'></a>  69 <em class='comment'>/* For SMB VFS only */</em>
<a id='L70' name='L70'></a>  70 <em class='sharp'>#ifndef</em> <a href='../Y/__GNUC__.html' title='Multiple used in 4 places.'>__GNUC__</a>
<a id='L71' name='L71'></a>  71 <em class='sharp'>#define</em> <strong class='reserved'>__attribute__</strong>(<a href='../Y/x.html' title='Multiple used in 769 places.'>x</a>)
<a id='L72' name='L72'></a>  72 <em class='sharp'>#endif</em>
<a id='L73' name='L73'></a>  73 
<a id='L74' name='L74'></a>  74 <em class='comment'>/* Solaris9 doesn't have PRIXMAX */</em>
<a id='L75' name='L75'></a>  75 <em class='sharp'>#ifndef</em> <a href='../S/lib--global.h.html#L76' title='Defined at 76 in lib/global.h.'>PRIXMAX</a>
<a id='L76' name='L76'></a>  76 <em class='sharp'>#define</em> <a href='../R/PRIXMAX.html' title='Multiple referred from 2 places.'>PRIXMAX</a> <a href='../Y/PRIxMAX.html' title='Multiple used in 2 places.'>PRIxMAX</a>
<a id='L77' name='L77'></a>  77 <em class='sharp'>#endif</em>
<a id='L78' name='L78'></a>  78 
<a id='L79' name='L79'></a>  79 <em class='sharp'>#ifdef</em> <a href='../Y/ENABLE_NLS.html' title='Multiple used in 30 places.'>ENABLE_NLS</a>
<a id='L80' name='L80'></a>  80 <em class='sharp'>#include</em> &lt;libintl.h&gt;
<a id='L81' name='L81'></a>  81 <em class='sharp'>#define</em> <a href='../R/_.html' title='Multiple referred from 999 places.'>_</a>(<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>) <a href='../S/lib--global.h.html#L89' title='Defined at 89 in lib/global.h.'>gettext</a> (<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>)
<a id='L82' name='L82'></a>  82 <em class='sharp'>#ifdef</em> <a href='../Y/gettext_noop.html' title='Multiple used in 2 places.'>gettext_noop</a>
<a id='L83' name='L83'></a>  83 <em class='sharp'>#define</em> <a href='../R/N_.html' title='Multiple referred from 573 places.'>N_</a>(<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>) <a href='../Y/gettext_noop.html' title='Multiple used in 2 places.'>gettext_noop</a> (<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>)
<a id='L84' name='L84'></a>  84 <em class='sharp'>#else</em>
<a id='L85' name='L85'></a>  85 <em class='sharp'>#define</em> <a href='../R/N_.html' title='Multiple referred from 573 places.'>N_</a>(<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>) (<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>)
<a id='L86' name='L86'></a>  86 <em class='sharp'>#endif</em>
<a id='L87' name='L87'></a>  87 <em class='sharp'>#else</em> <em class='comment'>/* Stubs that do something close enough.  */</em>
<a id='L88' name='L88'></a>  88 <em class='sharp'>#define</em> <a href='../S/src--main.c.html#L262' title='Referred from 262 in src/main.c.'>textdomain</a>(<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>) 1
<a id='L89' name='L89'></a>  89 <em class='sharp'>#define</em> <a href='../S/lib--global.h.html#L81' title='Referred from 81 in lib/global.h.'>gettext</a>(<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>) (<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>)
<a id='L90' name='L90'></a>  90 <em class='sharp'>#define</em> <a href='../R/ngettext.html' title='Multiple referred from 4 places.'>ngettext</a>(String1,String2,Num) (((Num) == 1) ? (String1) : (String2))
<a id='L91' name='L91'></a>  91 <em class='sharp'>#define</em> dgettext(<a href='../Y/Domain.html' title='Multiple used in 3 places.'>Domain</a>,<a href='../Y/Message.html' title='Multiple used in 2 places.'>Message</a>) (<a href='../Y/Message.html' title='Multiple used in 2 places.'>Message</a>)
<a id='L92' name='L92'></a>  92 <em class='sharp'>#define</em> dcgettext(<a href='../Y/Domain.html' title='Multiple used in 3 places.'>Domain</a>,<a href='../Y/Message.html' title='Multiple used in 2 places.'>Message</a>,Type) (<a href='../Y/Message.html' title='Multiple used in 2 places.'>Message</a>)
<a id='L93' name='L93'></a>  93 <em class='sharp'>#define</em> <a href='../S/src--main.c.html#L261' title='Referred from 261 in src/main.c.'>bindtextdomain</a>(<a href='../Y/Domain.html' title='Multiple used in 3 places.'>Domain</a>,Directory) 1
<a id='L94' name='L94'></a>  94 <em class='sharp'>#define</em> <a href='../R/_.html' title='Multiple referred from 999 places.'>_</a>(<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>) (<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>)
<a id='L95' name='L95'></a>  95 <em class='sharp'>#define</em> <a href='../R/N_.html' title='Multiple referred from 573 places.'>N_</a>(<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>) (<a href='../Y/String.html' title='Multiple used in 7 places.'>String</a>)
<a id='L96' name='L96'></a>  96 <em class='sharp'>#endif</em> <em class='comment'>/* !ENABLE_NLS */</em>
<a id='L97' name='L97'></a>  97 
<a id='L98' name='L98'></a>  98 <em class='sharp'>#include</em> "<a href='lib--fs.h.html'>fs.h</a>"
<a id='L99' name='L99'></a>  99 <em class='sharp'>#include</em> "<a href='lib--shell.h.html'>shell.h</a>"
<a id='L100' name='L100'></a> 100 <em class='sharp'>#include</em> "<a href='lib--mcconfig.h.html'>mcconfig.h</a>"
<a id='L101' name='L101'></a> 101 
<a id='L102' name='L102'></a> 102 <em class='sharp'>#ifdef</em> USE_MAINTAINER_MODE
<a id='L103' name='L103'></a> 103 <em class='sharp'>#include</em> "<a href='lib--logging.h.html'>lib/logging.h</a>"
<a id='L104' name='L104'></a> 104 <em class='sharp'>#endif</em>
<a id='L105' name='L105'></a> 105 
<a id='L106' name='L106'></a> 106 <em class='comment'>/* Just for keeping Your's brains from invention a proper size of the buffer :-) */</em>
<a id='L107' name='L107'></a> 107 <em class='sharp'>#define</em> <a href='../R/BUF_10K.html' title='Multiple referred from 3 places.'>BUF_10K</a> 10240L
<a id='L108' name='L108'></a> 108 <em class='sharp'>#define</em> <a href='../R/BUF_8K.html' title='Multiple referred from 8 places.'>BUF_8K</a>  8192L
<a id='L109' name='L109'></a> 109 <em class='sharp'>#define</em> <a href='../R/BUF_4K.html' title='Multiple referred from 4 places.'>BUF_4K</a>  4096L
<a id='L110' name='L110'></a> 110 <em class='sharp'>#define</em> <a href='../R/BUF_1K.html' title='Multiple referred from 9 places.'>BUF_1K</a>  1024L
<a id='L111' name='L111'></a> 111 
<a id='L112' name='L112'></a> 112 <em class='sharp'>#define</em> <a href='../R/BUF_LARGE.html' title='Multiple referred from 5 places.'>BUF_LARGE</a>  <a href='../S/lib--global.h.html#L110' title='Defined at 110 in lib/global.h.'>BUF_1K</a>
<a id='L113' name='L113'></a> 113 <em class='sharp'>#define</em> <a href='../R/BUF_MEDIUM.html' title='Multiple referred from 36 places.'>BUF_MEDIUM</a> 512
<a id='L114' name='L114'></a> 114 <em class='sharp'>#define</em> <a href='../R/BUF_SMALL.html' title='Multiple referred from 17 places.'>BUF_SMALL</a> 128
<a id='L115' name='L115'></a> 115 <em class='sharp'>#define</em> <a href='../R/BUF_TINY.html' title='Multiple referred from 36 places.'>BUF_TINY</a> 64
<a id='L116' name='L116'></a> 116 
<a id='L117' name='L117'></a> 117 <em class='comment'>/* ESC_CHAR is defined in /usr/include/langinfo.h in some systems */</em>
<a id='L118' name='L118'></a> 118 <em class='sharp'>#ifdef</em> <a href='../D/ESC_CHAR.html' title='Multiple defined in 2 places.'>ESC_CHAR</a>
<a id='L119' name='L119'></a> 119 <em class='sharp'>#undef</em> <a href='../R/ESC_CHAR.html' title='Multiple referred from 19 places.'>ESC_CHAR</a>
<a id='L120' name='L120'></a> 120 <em class='sharp'>#endif</em>
<a id='L121' name='L121'></a> 121 <em class='comment'>/* AIX compiler doesn't understand '\e' */</em>
<a id='L122' name='L122'></a> 122 <em class='sharp'>#define</em> <a href='../R/ESC_CHAR.html' title='Multiple referred from 19 places.'>ESC_CHAR</a> '\033'
<a id='L123' name='L123'></a> 123 <em class='sharp'>#define</em> <a href='../R/ESC_STR.html' title='Multiple referred from 207 places.'>ESC_STR</a>  "\033"
<a id='L124' name='L124'></a> 124 
<a id='L125' name='L125'></a> 125 <em class='comment'>/* OS specific defines */</em>
<a id='L126' name='L126'></a> 126 <em class='sharp'>#define</em> <a href='../R/PATH_SEP.html' title='Multiple referred from 63 places.'>PATH_SEP</a> '/'
<a id='L127' name='L127'></a> 127 <em class='sharp'>#define</em> <a href='../R/PATH_SEP_STR.html' title='Multiple referred from 72 places.'>PATH_SEP_STR</a> "/"
<a id='L128' name='L128'></a> 128 <em class='sharp'>#define</em> <a href='../R/IS_PATH_SEP.html' title='Multiple referred from 117 places.'>IS_PATH_SEP</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) == <a href='../S/lib--global.h.html#L126' title='Defined at 126 in lib/global.h.'>PATH_SEP</a>)
<a id='L129' name='L129'></a> 129 <em class='sharp'>#define</em> <a href='../S/lib--widget--input_complete.c.html#L607' title='Referred from 607 in lib/widget/input_complete.c.'>PATH_ENV_SEP</a> ':'
<a id='L130' name='L130'></a> 130 <em class='sharp'>#define</em> <a href='../S/lib--vfs--interface.c.html#L823' title='Referred from 823 in lib/vfs/interface.c.'>TMPDIR_DEFAULT</a> "/tmp"
<a id='L131' name='L131'></a> 131 <em class='sharp'>#define</em> <a href='../R/SCRIPT_SUFFIX.html' title='Multiple referred from 2 places.'>SCRIPT_SUFFIX</a> ""
<a id='L132' name='L132'></a> 132 <em class='sharp'>#define</em> <a href='../S/src--filemanager--cmd.c.html#L695' title='Referred from 695 in src/filemanager/cmd.c.'>get_default_editor</a>() "vi"
<a id='L133' name='L133'></a> 133 <em class='sharp'>#define</em> <a href='../R/OS_SORT_CASE_SENSITIVE_DEFAULT.html' title='Multiple referred from 2 places.'>OS_SORT_CASE_SENSITIVE_DEFAULT</a> <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>
<a id='L134' name='L134'></a> 134 <em class='sharp'>#define</em> <a href='../R/UTF8_CHAR_LEN.html' title='Multiple referred from 21 places.'>UTF8_CHAR_LEN</a> 6
<a id='L135' name='L135'></a> 135 
<a id='L136' name='L136'></a> 136 <em class='comment'>/* struct stat members */</em>
<a id='L137' name='L137'></a> 137 <em class='sharp'>#ifdef</em> __APPLE__
<a id='L138' name='L138'></a> 138 <em class='sharp'>#define</em> <a href='../R/st_atim.html' title='Multiple referred from 15 places.'>st_atim</a> st_atimespec
<a id='L139' name='L139'></a> 139 <em class='sharp'>#define</em> <a href='../R/st_ctim.html' title='Multiple referred from 14 places.'>st_ctim</a> st_ctimespec
<a id='L140' name='L140'></a> 140 <em class='sharp'>#define</em> <a href='../R/st_mtim.html' title='Multiple referred from 15 places.'>st_mtim</a> st_mtimespec
<a id='L141' name='L141'></a> 141 <em class='sharp'>#endif</em>
<a id='L142' name='L142'></a> 142 
<a id='L143' name='L143'></a> 143 <em class='comment'>/* Used to distinguish between a normal MC termination and */</em>
<a id='L144' name='L144'></a> 144 <em class='comment'>/* one caused by typing 'exit' or 'logout' in the subshell */</em>
<a id='L145' name='L145'></a> 145 <em class='sharp'>#define</em> <a href='../R/SUBSHELL_EXIT.html' title='Multiple referred from 5 places.'>SUBSHELL_EXIT</a> 128
<a id='L146' name='L146'></a> 146 
<a id='L147' name='L147'></a> 147 <em class='sharp'>#define</em> <a href='../R/MC_ERROR.html' title='Multiple referred from 15 places.'>MC_ERROR</a> g_quark_from_static_string (<a href='../Y/PACKAGE.html' title='Multiple used in 3 places.'>PACKAGE</a>)
<a id='L148' name='L148'></a> 148 
<a id='L149' name='L149'></a> 149 <em class='sharp'>#define</em> <a href='../R/DEFAULT_CHARSET.html' title='Multiple referred from 17 places.'>DEFAULT_CHARSET</a> "ASCII"
<a id='L150' name='L150'></a> 150 
<a id='L151' name='L151'></a> 151 <em class='comment'>/*** enums ***************************************************************************************/</em>
<a id='L152' name='L152'></a> 152 
<a id='L153' name='L153'></a> 153 <em class='comment'>/* run mode and params */</em>
<a id='L154' name='L154'></a> 154 <strong class='reserved'>typedef</strong> <strong class='reserved'>enum</strong>
<a id='L155' name='L155'></a> 155 <em class='brace'>{</em>
<a id='L156' name='L156'></a> 156     <a href='../R/MC_RUN_FULL.html' title='Multiple referred from 27 places.'>MC_RUN_FULL</a> = 0,
<a id='L157' name='L157'></a> 157     <a href='../R/MC_RUN_EDITOR.html' title='Multiple referred from 7 places.'>MC_RUN_EDITOR</a>,
<a id='L158' name='L158'></a> 158     <a href='../R/MC_RUN_VIEWER.html' title='Multiple referred from 7 places.'>MC_RUN_VIEWER</a>,
<a id='L159' name='L159'></a> 159     <a href='../R/MC_RUN_DIFFVIEWER.html' title='Multiple referred from 5 places.'>MC_RUN_DIFFVIEWER</a>
<a id='L160' name='L160'></a> 160 <em class='brace'>}</em> <a href='../S/lib--global.h.html#L166' title='Referred from 166 in lib/global.h.'>mc_run_mode_t</a>;
<a id='L161' name='L161'></a> 161 
<a id='L162' name='L162'></a> 162 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
<a id='L163' name='L163'></a> 163 
<a id='L164' name='L164'></a> 164 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong>
<a id='L165' name='L165'></a> 165 <em class='brace'>{</em>
<a id='L166' name='L166'></a> 166     <a href='../S/lib--global.h.html#L160' title='Defined at 160 in lib/global.h.'>mc_run_mode_t</a> <a href='../Y/mc_run_mode.html' title='Multiple used in 37 places.'>mc_run_mode</a>;
<a id='L167' name='L167'></a> 167     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/run_from_parent_mc.html' title='Multiple used in 5 places.'>run_from_parent_mc</a>;
<a id='L168' name='L168'></a> 168     <em class='comment'>/* Used so that widgets know if they are being destroyed or shut down */</em>
<a id='L169' name='L169'></a> 169     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/midnight_shutdown.html' title='Multiple used in 21 places.'>midnight_shutdown</a>;
<a id='L170' name='L170'></a> 170 
<a id='L171' name='L171'></a> 171     <em class='comment'>/* sysconfig_dir: Area for default settings from maintainers of distributuves</em>
<a id='L172' name='L172'></a> 172 <em class='comment'>       default is /etc/mc or may be defined by MC_DATADIR */</em>
<a id='L173' name='L173'></a> 173     <strong class='reserved'>char</strong> *<a href='../Y/sysconfig_dir.html' title='Multiple used in 42 places.'>sysconfig_dir</a>;
<a id='L174' name='L174'></a> 174     <em class='comment'>/* share_data_dir: Area for default settings from developers */</em>
<a id='L175' name='L175'></a> 175     <strong class='reserved'>char</strong> *<a href='../Y/share_data_dir.html' title='Multiple used in 28 places.'>share_data_dir</a>;
<a id='L176' name='L176'></a> 176 
<a id='L177' name='L177'></a> 177     <a href='../D/mc_config_t.html' title='Multiple defined in 2 places.'>mc_config_t</a> *<a href='../Y/main_config.html' title='Multiple used in 117 places.'>main_config</a>;
<a id='L178' name='L178'></a> 178     <a href='../D/mc_config_t.html' title='Multiple defined in 2 places.'>mc_config_t</a> *<a href='../Y/panels_config.html' title='Multiple used in 33 places.'>panels_config</a>;
<a id='L179' name='L179'></a> 179 
<a id='L180' name='L180'></a> 180 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L181' name='L181'></a> 181     <em class='comment'>/* Numbers of (file I/O) and (input/display) codepages. -1 if not selected */</em>
<a id='L182' name='L182'></a> 182     <strong class='reserved'>int</strong> <a href='../Y/source_codepage.html' title='Multiple used in 30 places.'>source_codepage</a>;
<a id='L183' name='L183'></a> 183     <strong class='reserved'>int</strong> <a href='../Y/display_codepage.html' title='Multiple used in 28 places.'>display_codepage</a>;
<a id='L184' name='L184'></a> 184 <em class='sharp'>#else</em>
<a id='L185' name='L185'></a> 185     <em class='comment'>/* If true, allow characters in the range 160-255 */</em>
<a id='L186' name='L186'></a> 186     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/eight_bit_clean.html' title='Multiple used in 8 places.'>eight_bit_clean</a>;
<a id='L187' name='L187'></a> 187     <em class='comment'>/*</em>
<a id='L188' name='L188'></a> 188 <em class='comment'>     * If true, also allow characters in the range 128-159.</em>
<a id='L189' name='L189'></a> 189 <em class='comment'>     * This is reported to break on many terminals (xterm, qansi-m).</em>
<a id='L190' name='L190'></a> 190 <em class='comment'>     */</em>
<a id='L191' name='L191'></a> 191     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/full_eight_bits.html' title='Multiple used in 8 places.'>full_eight_bits</a>;
<a id='L192' name='L192'></a> 192 <em class='sharp'>#endif</em>                          <em class='comment'>/* !HAVE_CHARSET */</em>
<a id='L193' name='L193'></a> 193     <em class='comment'>/*</em>
<a id='L194' name='L194'></a> 194 <em class='comment'>     * If utf-8 terminal utf8_display = TRUE</em>
<a id='L195' name='L195'></a> 195 <em class='comment'>     * Display bits set UTF-8</em>
<a id='L196' name='L196'></a> 196 <em class='comment'>     */</em>
<a id='L197' name='L197'></a> 197     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/utf8_display.html' title='Multiple used in 25 places.'>utf8_display</a>;
<a id='L198' name='L198'></a> 198 
<a id='L199' name='L199'></a> 199     <em class='comment'>/* Set if the nice message (hint) bar is visible */</em>
<a id='L200' name='L200'></a> 200     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/message_visible.html' title='Multiple used in 13 places.'>message_visible</a>;
<a id='L201' name='L201'></a> 201     <em class='comment'>/* Set if the nice and useful keybar is visible */</em>
<a id='L202' name='L202'></a> 202     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/keybar_visible.html' title='Multiple used in 20 places.'>keybar_visible</a>;
<a id='L203' name='L203'></a> 203 
<a id='L204' name='L204'></a> 204 <em class='sharp'>#ifdef</em> <a href='../Y/ENABLE_BACKGROUND.html' title='Multiple used in 28 places.'>ENABLE_BACKGROUND</a>
<a id='L205' name='L205'></a> 205     <em class='comment'>/* If true, this is a background process */</em>
<a id='L206' name='L206'></a> 206     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/we_are_background.html' title='Multiple used in 13 places.'>we_are_background</a>;
<a id='L207' name='L207'></a> 207 <em class='sharp'>#endif</em>                          <em class='comment'>/* ENABLE_BACKGROUND */</em>
<a id='L208' name='L208'></a> 208 
<a id='L209' name='L209'></a> 209     <strong class='reserved'>struct</strong>
<a id='L210' name='L210'></a> 210     <em class='brace'>{</em>
<a id='L211' name='L211'></a> 211         <em class='comment'>/* Asks for confirmation before clean up of history */</em>
<a id='L212' name='L212'></a> 212         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/confirm_history_cleanup.html' title='Multiple used in 5 places.'>confirm_history_cleanup</a>;
<a id='L213' name='L213'></a> 213 
<a id='L214' name='L214'></a> 214         <em class='comment'>/* Set if you want the possible completions dialog for the first time */</em>
<a id='L215' name='L215'></a> 215         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/show_all_if_ambiguous.html' title='Multiple used in 5 places.'>show_all_if_ambiguous</a>;
<a id='L216' name='L216'></a> 216 
<a id='L217' name='L217'></a> 217         <em class='comment'>/* Ugly hack in order to distinguish between left and right panel in menubar */</em>
<a id='L218' name='L218'></a> 218         <em class='comment'>/* Set if the command is being run from the "Right" menu */</em>
<a id='L219' name='L219'></a> 219         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/is_right.html' title='Multiple used in 5 places.'>is_right</a>;      <em class='comment'>/* If the selected menu was the right */</em>
<a id='L220' name='L220'></a> 220     <em class='brace'>}</em> <a href='../Y/widget.html' title='Multiple used in 197 places.'>widget</a>;
<a id='L221' name='L221'></a> 221 
<a id='L222' name='L222'></a> 222     <em class='comment'>/* The user's shell */</em>
<a id='L223' name='L223'></a> 223     <a href='../S/lib--shell.h.html#L32' title='Defined at 32 in lib/shell.h.'>mc_shell_t</a> *<a href='../Y/shell.html' title='Multiple used in 50 places.'>shell</a>;
<a id='L224' name='L224'></a> 224 
<a id='L225' name='L225'></a> 225     <strong class='reserved'>struct</strong>
<a id='L226' name='L226'></a> 226     <em class='brace'>{</em>
<a id='L227' name='L227'></a> 227         <em class='comment'>/* Use the specified skin */</em>
<a id='L228' name='L228'></a> 228         <strong class='reserved'>char</strong> *<a href='../Y/skin.html' title='Multiple used in 5 places.'>skin</a>;
<a id='L229' name='L229'></a> 229         <em class='comment'>/* Dialog window and frop down menu have a shadow */</em>
<a id='L230' name='L230'></a> 230         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/shadows.html' title='Multiple used in 9 places.'>shadows</a>;
<a id='L231' name='L231'></a> 231 
<a id='L232' name='L232'></a> 232         <strong class='reserved'>char</strong> *<a href='../Y/setup_color_string.html' title='Multiple used in 5 places.'>setup_color_string</a>;
<a id='L233' name='L233'></a> 233         <strong class='reserved'>char</strong> *<a href='../Y/term_color_string.html' title='Multiple used in 5 places.'>term_color_string</a>;
<a id='L234' name='L234'></a> 234         <strong class='reserved'>char</strong> *<a href='../Y/color_terminal_string.html' title='Multiple used in 5 places.'>color_terminal_string</a>;
<a id='L235' name='L235'></a> 235         <em class='comment'>/* colors specified on the command line: they override any other setting */</em>
<a id='L236' name='L236'></a> 236         <strong class='reserved'>char</strong> *<a href='../Y/command_line_colors.html' title='Multiple used in 4 places.'>command_line_colors</a>;
<a id='L237' name='L237'></a> 237 
<a id='L238' name='L238'></a> 238 <em class='sharp'>#ifndef</em> <a href='../S/src--consaver--cons.saver.c.html#L74' title='Defined at 74 in src/consaver/cons.saver.c.'>LINUX_CONS_SAVER_C</a>
<a id='L239' name='L239'></a> 239         <em class='comment'>/* Used only in mc, not in cons.saver */</em>
<a id='L240' name='L240'></a> 240         <strong class='reserved'>char</strong> <a href='../Y/console_flag.html' title='Multiple used in 56 places.'>console_flag</a>;
<a id='L241' name='L241'></a> 241 <em class='sharp'>#endif</em>                          <em class='comment'>/* !LINUX_CONS_SAVER_C */</em>
<a id='L242' name='L242'></a> 242         <em class='comment'>/* If using a subshell for evaluating commands this is true */</em>
<a id='L243' name='L243'></a> 243         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/use_subshell.html' title='Multiple used in 43 places.'>use_subshell</a>;
<a id='L244' name='L244'></a> 244 
<a id='L245' name='L245'></a> 245 <em class='sharp'>#ifdef</em> <a href='../Y/ENABLE_SUBSHELL.html' title='Multiple used in 39 places.'>ENABLE_SUBSHELL</a>
<a id='L246' name='L246'></a> 246         <em class='comment'>/* File descriptors of the pseudoterminal used by the subshell */</em>
<a id='L247' name='L247'></a> 247         <strong class='reserved'>int</strong> <a href='../Y/subshell_pty.html' title='Multiple used in 42 places.'>subshell_pty</a>;
<a id='L248' name='L248'></a> 248 <em class='sharp'>#endif</em>                          <em class='comment'>/* !ENABLE_SUBSHELL */</em>
<a id='L249' name='L249'></a> 249 
<a id='L250' name='L250'></a> 250         <em class='comment'>/* This flag is set by xterm detection routine in function main() */</em>
<a id='L251' name='L251'></a> 251         <em class='comment'>/* It is used by function toggle_subshell() */</em>
<a id='L252' name='L252'></a> 252         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/xterm_flag.html' title='Multiple used in 15 places.'>xterm_flag</a>;
<a id='L253' name='L253'></a> 253 
<a id='L254' name='L254'></a> 254         <em class='comment'>/* disable x11 support */</em>
<a id='L255' name='L255'></a> 255         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/disable_x11.html' title='Multiple used in 4 places.'>disable_x11</a>;
<a id='L256' name='L256'></a> 256 
<a id='L257' name='L257'></a> 257         <em class='comment'>/* For slow terminals */</em>
<a id='L258' name='L258'></a> 258         <em class='comment'>/* If true lines are shown by spaces */</em>
<a id='L259' name='L259'></a> 259         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/slow_terminal.html' title='Multiple used in 7 places.'>slow_terminal</a>;
<a id='L260' name='L260'></a> 260 
<a id='L261' name='L261'></a> 261         <em class='comment'>/* Set to force black and white display at program startup */</em>
<a id='L262' name='L262'></a> 262         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/disable_colors.html' title='Multiple used in 6 places.'>disable_colors</a>;
<a id='L263' name='L263'></a> 263 
<a id='L264' name='L264'></a> 264         <em class='comment'>/* If true use +, -, | for line drawing */</em>
<a id='L265' name='L265'></a> 265         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/ugly_line_drawing.html' title='Multiple used in 6 places.'>ugly_line_drawing</a>;
<a id='L266' name='L266'></a> 266 
<a id='L267' name='L267'></a> 267         <em class='comment'>/* Tries to use old highlight mouse tracking */</em>
<a id='L268' name='L268'></a> 268         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/old_mouse.html' title='Multiple used in 4 places.'>old_mouse</a>;
<a id='L269' name='L269'></a> 269 
<a id='L270' name='L270'></a> 270         <em class='comment'>/* If true, use + and \ keys normally and select/unselect do if M-+ / M-\.</em>
<a id='L271' name='L271'></a> 271 <em class='comment'>           and M-- and keypad + / - */</em>
<a id='L272' name='L272'></a> 272         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/alternate_plus_minus.html' title='Multiple used in 15 places.'>alternate_plus_minus</a>;
<a id='L273' name='L273'></a> 273     <em class='brace'>}</em> <a href='../Y/tty.html' title='Multiple used in 189 places.'>tty</a>;
<a id='L274' name='L274'></a> 274 
<a id='L275' name='L275'></a> 275     <strong class='reserved'>struct</strong>
<a id='L276' name='L276'></a> 276     <em class='brace'>{</em>
<a id='L277' name='L277'></a> 277         <em class='comment'>/* Set when cd symlink following is desirable (bash mode) */</em>
<a id='L278' name='L278'></a> 278         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/cd_symlinks.html' title='Multiple used in 6 places.'>cd_symlinks</a>;
<a id='L279' name='L279'></a> 279 
<a id='L280' name='L280'></a> 280         <em class='comment'>/* Preallocate space before file copying */</em>
<a id='L281' name='L281'></a> 281         <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/preallocate_space.html' title='Multiple used in 6 places.'>preallocate_space</a>;
<a id='L282' name='L282'></a> 282 
<a id='L283' name='L283'></a> 283     <em class='brace'>}</em> <a href='../Y/vfs.html' title='Multiple used in 77 places.'>vfs</a>;
<a id='L284' name='L284'></a> 284 <em class='brace'>}</em> <a href='../R/mc_global_t.html' title='Multiple referred from 2 places.'>mc_global_t</a>;
<a id='L285' name='L285'></a> 285 
<a id='L286' name='L286'></a> 286 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
<a id='L287' name='L287'></a> 287 
<a id='L288' name='L288'></a> 288 <strong class='reserved'>extern</strong> <a href='../S/lib--global.h.html#L284' title='Defined at 284 in lib/global.h.'>mc_global_t</a> <a href='../Y/mc_global.html' title='Multiple used in 619 places.'>mc_global</a>;
<a id='L289' name='L289'></a> 289 
<a id='L290' name='L290'></a> 290 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
<a id='L291' name='L291'></a> 291 
<a id='L292' name='L292'></a> 292 <em class='comment'>/*** inline functions ****************************************************************************/</em>
<a id='L293' name='L293'></a> 293 <em class='sharp'>#endif</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+293 lib/global.h'  /> */</em>
</body>
</html>
